package com.geek.jdkproxy;

import java.lang.reflect.InvocationHandler;

public class DelegateInvocationHandlerImpl {

    private DelegateInvocationHandlerImpl(){}

    public static InvocationHandler create(final Object delegate) {
        return (proxy, method, args) -> method.invoke(delegate, args);
    }
}
